\begin{tabbing} E($n$;$F$) $\,\equiv$$_{\mbox{\scriptsize def}}$$\;\;$if ($n$ =$_{0}$ 0) then $F$(null) else weighted{-}sum($p$;$\lambda$$x$.E($n$ {-} 1;rv{-}shift($x$;$F$))) fi \\[0ex] \\[0ex]{\em clarification:} \\[0ex] \\[0ex]expectation($p$;$n$;$F$) \\[0ex]$\,\equiv$$_{\mbox{\scriptsize def}}$$\;\;$\=if ($n$ =$_{0}$ 0)\+ \\[0ex]then $F$(null) \\[0ex]else weighted{-}sum($p$;$\lambda$$x$.expectation($p$;$n$ {-} 1;rv{-}shift($x$;$F$))) \\[0ex]fi \-\\[0ex]\emph{(recursive)} \end{tabbing}